package com.example.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * (SysMenu)表实体类
 *
 * @author makejava
 * @since 2022-04-11 23:09:40
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("serial")
public class SysMenu extends Model<SysMenu> {

    private Integer id;
    //父菜单ID，一级菜单为0
    private Integer parentId;
    //菜单名称
    private String name;
    //菜单URL
    private String path;
    //授权(多个用逗号分隔，如：user:list,user:create)
    private String perms;

    private String component;
    //类型     0：目录   1：菜单   2：按钮
    private Integer type;
    //菜单图标
    private String icon;
    //菜单创建时间
    private Date createdTime;
    //菜单修改时间
    private Date updatedTime;
    //状态1可用|0不可用
    private Integer statu;
    }

